package com.ruoyi.ora.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 录音权限对象 ora_voice_permission
 * 
 * @author liuwp
 * @date 2025-03-20
 */
public class VoicePermission extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 录音记录id */
    @Excel(name = "录音记录id")
    private Long voiceRecordId;

    /** 绑定用户id */
    @Excel(name = "绑定用户id")
    private Long deviceUserId;

    // 部分成员可见时传入的成员
    private Long[] deviceUserIds;

    private Integer showType;

    public Integer getShowType() {
        return showType;
    }

    public void setShowType(Integer showType) {
        this.showType = showType;
    }

    public Long[] getDeviceUserIds() {
        return deviceUserIds;
    }

    public void setDeviceUserIds(Long[] deviceUserIds) {
        this.deviceUserIds = deviceUserIds;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVoiceRecordId(Long voiceRecordId) 
    {
        this.voiceRecordId = voiceRecordId;
    }

    public Long getVoiceRecordId() 
    {
        return voiceRecordId;
    }
    public void setDeviceUserId(Long deviceUserId) 
    {
        this.deviceUserId = deviceUserId;
    }

    public Long getDeviceUserId() 
    {
        return deviceUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("voiceRecordId", getVoiceRecordId())
            .append("deviceUserId", getDeviceUserId())
            .toString();
    }
}
